#include <QApplication>
#include "headers/mainwindow.h"
int main(int argc, char *argv[]) {
    qDebug() << "demo开始启动...";
    QApplication a(argc, argv);
    MainWindow window;
    window.show();
    qDebug() << "demo动完成...";
    qDebug() << "边框几何信息"<<Qt::endl
    << "x:"<<window.x()<<Qt::endl
    << "y:"<<window.y()<<Qt::endl
    << "x:"<<window.frameGeometry().x()<<Qt::endl
    << "y:"<<window.frameGeometry().y()<<Qt::endl
    << "width:"<<window.width()<<Qt::endl
    << "height:"<<window.height()<<Qt::endl
    << "pos:" << window.pos();
    qDebug() << "客户区几何信息"<<Qt::endl
             << "x:"<<window.geometry().x()<<Qt::endl
             << "y:"<<window.geometry().y()<<Qt::endl
             << "widht:"<<window.width()<<Qt::endl
             << "height:"<<window.height()<<Qt::endl
             << "width:"<<window.geometry().width()<<Qt::endl
             << "height:"<<window.geometry().height()<<Qt::endl
             << "pos:" << window.pos();
    return QApplication::exec();
}